package 学生评教管理系统;

public class Course {
    private String courseId;//课程号
    private String courseName;//课程名称
    private double credit;//学分

    //构造方法
    Course() {

    }

    Course(String courseId, String courseName, double credit) {
        this.setCourseId(courseId);
        this.setCourseName(courseName);
        this.setCredit(credit);
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }
}